PT0-003: PenTest+ Practice Exam — PT0-003: PenTest+

1. The question bank is cloud-based and updates automatically, with no need for re-acquisition.

2. Available in Chinese and English. It supports online practice, mock exams and PDF downloads.

3. You can practice questions via mini-program or desktop web page. The service is valid for one year.

4. For inquiries, please contact customer service via WeChat, WhatsApp or Line.

Exam information

PT0-003: CompTIA PenTest+

-Exam Overview: Geared toward penetration testers. It validates abilities in planning, conducting penetration tests, exploiting vulnerabilities and compiling test reports.

-Key Specifications:

 - Exam Duration: 165 minutes

 - Number of Questions: Up to 85 (Scenario-based, performance-based and simulation questions)

 - Total Score / Passing Score: 900 / 750

 - Exam Fee: Approximately $392 USD

 - Supported Languages: English, Japanese, etc.

 - Official Registration Link: https://www.comptia.org/certifications/pentest

-Core Topics:

 - Penetration test planning, reconnaissance and scanning

 - Vulnerability exploitation, lateral movement and privilege escalation

 - Post-exploitation, report writing and remediation recommendations

Sample questions

PT0-003: PenTest+ · Q1
Topic 1 Question #1 A penetration tester wants to send a specific network packet with custom flags and sequence numbers to a vulnerable target. Which of the following should the tester use?
  • A.
    tcprelay
  • B.
    Bluecrack
  • C.
    Scapy
  • D.
    tcpdump

Answer: C

The scenario describes a requirement to construct and transmit a custom network packet with user-defined TCP flags and sequence numbers, a task aligned with the packet manipulation and network testing competencies tested in the CompTIA PT0-003 (PenTest+) certification. The suggested answer, Scapy, is the correct tool for this use case because it is purpose-built for granular, low-level control over all network packet fields. Scapy allows penetration testers to build custom packets from scratch, modify any header or payload value, and transmit the packets directly to a target, which supports common PenTest+ tasks including firewall rule testing, evasive port scanning, and proof-of-concept network vulnerability exploitation. Option Analysis: A. Incorrect. tcprelay is a component of the tcpreplay suite designed to relay captured TCP traffic between two network endpoints, primarily for replaying pre-captured traffic datasets. It does not support crafting entirely new custom packets with arbitrary flags or sequence numbers, so it does not meet the scenario requirements. B. Incorrect. Bluecrack is a Bluetooth security auditing tool used to crack Bluetooth PINs and audit Bluetooth device security. It has no functionality for IP or TCP packet crafting, making it entirely unrelated to the task described. C. Correct. Scapy is an interactive packet manipulation framework that provides full control over all layers of network packets, including TCP header fields such as control flags (SYN, ACK, FIN, RST, etc.) and sequence numbers. It supports constructing custom packets from scratch and transmitting them to target systems, which directly matches the tester's requirements in the scenario. D. Incorrect. tcpdump is a command-line packet capture and analysis tool used to intercept and display network traffic traversing a network interface. It cannot construct or transmit custom packets, so it is not suitable for the task. Key Concepts: 1. Packet Crafting: A core PenTest+ skill that involves constructing custom network packets to test target network defenses, identify vulnerabilities, and validate exploit feasibility. Testers must be able to select appropriate tools to modify packet fields for evasion, testing, and exploitation tasks. 2. Penetration Testing Tool Categorization: PT0-003 requires candidates to distinguish between tool categories including packet capture tools, packet crafting tools, traffic replay tools, and wireless auditing tools to select the correct tool for a given operational scenario. 3. TCP Header Manipulation: Knowledge of TCP header fields (including control flags and sequence numbers) and how to modify these fields via specialized tools is required for PenTest+ tasks such as TCP session hijacking, firewall evasion, and custom port scanning. References: CompTIA PenTest+ (PT0-003) Exam Objectives, Scapy Official Documentation, https://scapy.readthedocs.io/en/latest/
PT0-003: PenTest+ · Q2
Topic 1 Question #2 Which of the following explains the reason a tester would opt to use DREAD over PTES during the planning phase of a penetration test?
  • A.
    The tester is conducting a web application test.
  • B.
    The tester is assessing a mobile application.
  • C.
    The tester is evaluating a thick client application.
  • D.
    The tester is creating a threat model.

Answer: D

The core distinction between DREAD and PTES lies in their intended use cases. DREAD is a risk scoring framework designed specifically to quantify and prioritize the severity of identified threats, while PTES (Penetration Testing Execution Standard) is a full end-to-end framework that governs the entire penetration test lifecycle, from pre-engagement negotiations to final reporting. During the penetration test planning phase, a tester will opt to use DREAD instead of PTES when the specific task at hand is threat modeling, as PTES provides broad process guidance but no native methodology for scoring and prioritizing individual threats. This aligns with CompTIA PenTest+ (PT0-003) Domain 1 (Planning and Scoping) requirements, which cover both industry test standards and threat modeling methodologies as part of test planning activities. Option Analysis: A. Incorrect. PTES includes explicit guidance for planning and scoping web application penetration tests, and DREAD is not specific to web application use cases. A tester planning a web app test would use PTES for overall test structure, not DREAD as a replacement for PTES. B. Incorrect. PTES provides tailored guidance for mobile application penetration test planning, and DREAD is not optimized for mobile-specific test scoping or execution planning. There is no reason to use DREAD over PTES for general mobile app test planning. C. Incorrect. PTES covers thick client application penetration test scoping and planning requirements, and DREAD has no native thick-client-specific functionality that makes it preferable to PTES for general thick client test planning. D. Correct. DREAD is a dedicated threat modeling risk assessment framework that scores threats across five dimensions: Damage potential, Reproducibility, Exploitability, Affected users, and Discoverability. PTES does not include a built-in threat scoring methodology, so when a tester’s planning phase activity focuses on creating a threat model to prioritize test targets, DREAD is the appropriate choice over PTES. Key Concepts: 1. DREAD Framework: A quantitative threat risk scoring model originally developed by Microsoft, used to assign a numeric score to individual threats to prioritize mitigation and testing focus. It is a core threat modeling methodology covered in the PT0-003 Planning and Scoping domain. 2. Penetration Testing Execution Standard (PTES): A widely adopted industry standard that defines the seven phases of a penetration test (pre-engagement, intelligence gathering, threat modeling, vulnerability analysis, exploitation, post-exploitation, reporting). It provides high-level process guidance, not targeted threat risk scoring functionality. 3. Planning Phase Threat Modeling: A core PT0-003 planning phase activity where testers identify potential threats to the target environment and rank their severity to allocate testing resources effectively, requiring specialized risk scoring frameworks like DREAD. References: Penetration Testing Execution Standard (PTES) Official Documentation, Microsoft Threat Modeling Risk Categories Documentation
PT0-003: PenTest+ · Q3
Topic 1 Question #3 A penetration tester is performing a security review of a web application. Which of the following should the tester leverage to identify the presence of vulnerable open-source libraries?
  • A.
    VM
  • B.
    IAST
  • C.
    DAST
  • D.
    SCA

Answer: D

The PT0-003 CompTIA PenTest+ exam includes core requirements in domain 3 (Information Gathering and Vulnerability Scanning) and domain 4 (Penetration Testing Tools) to select appropriate testing tools for specific web application assessment tasks. The scenario asks for a method to identify vulnerable open-source libraries in a web application, which is the explicit, purpose-built use case for Software Composition Analysis (SCA). SCA tools parse application source code, dependency manifest files (such as package.json, pom.xml, or requirements.txt), and compiled artifacts to generate a complete inventory of all third-party open-source components used in the app. They then cross-reference each component version against public vulnerability databases including the NVD, CVE list, and OSV database to flag components with known documented vulnerabilities. This capability directly addresses the penetration tester's requirement in the given scenario. Option Analysis: A. VM (Vulnerability Management/Scanning): Incorrect. Vulnerability management tools are designed to scan network-facing infrastructure, operating systems, and standard network services for known vulnerabilities, but they lack visibility into internal web application dependencies and open-source libraries embedded in application code. They do not support the specific use case of identifying vulnerable open-source web application libraries. B. IAST (Interactive Application Security Testing): Incorrect. IAST tools operate during web application runtime, combining static and dynamic testing techniques to detect runtime application vulnerabilities such as injection flaws, broken authentication, and insecure direct object references. IAST does not focus on cataloging or identifying vulnerabilities in open-source dependencies, so it is not the appropriate tool for this task. C. DAST (Dynamic Application Security Testing): Incorrect. DAST is a black-box testing methodology that scans running web applications from an external perspective to identify exposed vulnerabilities like cross-site scripting, SQL injection, and server misconfigurations. DAST has no access to the application's underlying source code or dependency list, so it cannot identify vulnerable open-source libraries. D. SCA (Software Composition Analysis): Correct. SCA is specifically built to inventory all open-source components used in an application and identify versions with publicly documented vulnerabilities. This directly meets the penetration tester's requirement to detect vulnerable open-source libraries in the web application under review, aligning with PT0-003 requirements for application security testing tool selection. Key Concepts: 1. Application Security Testing (AST) Tool Classification: PT0-003 candidates must demonstrate the ability to differentiate between AST tool types (SAST, DAST, IAST, SCA) and select the correct tool for specific assessment tasks, including open-source dependency scanning. 2. Open-Source Dependency Risk Assessment: A core PenTest+ skill for web application assessments, as unpatched open-source libraries are a common, high-severity attack vector, and testers must know the appropriate method to identify this class of vulnerability. 3. Vulnerability Scanning Tool Use Cases: PT0-003 domain 4 focuses on matching tools to specific testing goals, requiring testers to recognize that SCA is the only standard AST tool focused exclusively on open-source library vulnerability detection. References: CompTIA PenTest+ (PT0-003) Official Exam Objectives, OWASP Software Composition Analysis Overview
PT0-003: PenTest+ · Q4
Topic 1 Question #4 A penetration tester finds that an application responds with the contents of the /etc/passwd file when the following payload is sent: " target="_blank" rel="nofollow noopener">https://img.examtopics.com/pt0-003/image1.png"> Which of the following should the tester recommend in the report to best prevent this type of vulnerability?
  • A.
    Drop all excessive file permissions with chmod o-rwx.
  • B.
    Ensure the requests application access logs are reviewed frequently.
  • C.
    Disable the use of external entities.
  • D.
    Implement a WAF to filter all incoming requests.

Answer: C

The scenario describes a successful XML External Entity (XXE) injection attack, an injection vulnerability covered in the PT0-003 PenTest+ exam domain 2 (Information Gathering and Vulnerability Scanning) and domain 3 (Attacks and Exploits). The observed payload is a malicious XML external entity reference that forces the application's misconfigured XML parser to read and return the contents of the local /etc/passwd file. The suggested answer addresses the root cause of the vulnerability, which aligns with PT0-003 guidance to prioritize root cause remediations over partial or compensating controls in penetration test reporting. Disabling external entity processing eliminates the core functionality that XXE attacks exploit, making it the most effective long-term prevention for this type of flaw. Option Analysis: A. This option is incorrect. Removing world-readable/writable/executable permissions is a compensating control that may limit the scope of files accessible via XXE, but it does not fix the underlying XXE vulnerability. Attackers can still exploit the flaw to access other readable system files, conduct server-side request forgery (SSRF), or trigger denial of service, even with restrictive file permissions in place. This is not a complete fix for the observed vulnerability per PT0-003 remediation best practices. B. This option is incorrect. Regular access log review is a detective control that can identify successful or attempted XXE attacks after they occur, but it does not prevent exploitation of the vulnerability. The question asks for a control that prevents the vulnerability from being exploited, so detective controls are not suitable. C. This option is correct. XXE vulnerabilities exist exclusively because XML parsers are configured to process untrusted external entity references. Disabling external entity support at the XML parser level removes the entire attack vector for this flaw, preventing attackers from injecting malicious entity references to read local files, execute SSRF, or conduct other XXE-based exploits. This is the most effective root cause remediation per PT0-003 and industry standard guidance for XXE flaws. D. This option is incorrect. A web application firewall (WAF) is a compensating control that can block known, unobfuscated XXE payloads, but it is not a complete solution. Attackers routinely use obfuscated or polymorphic XXE payloads to bypass WAF rules, so this control does not address the root cause of the vulnerability and is less reliable than disabling external entities. Key Concepts: 1. XML External Entity (XXE) Injection: This is a high-severity injection vulnerability that occurs when misconfigured XML parsers process external entity references in untrusted user input. PT0-003 requires candidates to identify XXE indicators, exploit vectors, and appropriate remediations as part of core application security knowledge. 2. Root Cause vs Compensating Controls: PT0-003 emphasizes that remediations addressing the core root cause of a vulnerability are always preferred over compensating controls, as compensating controls only reduce risk rather than eliminating the vulnerability entirely. 3. Preventive vs Detective Controls: Preventive controls block vulnerability exploitation before it occurs, while detective controls only identify attacks after execution. Penetration test recommendations for prevention must prioritize preventive controls, as specified in PT0-003 report writing guidance. References: CompTIA PenTest+ (PT0-003) Official Exam Objectives, OWASP XML External Entity (XXE) Prevention Cheat Sheet, https://cheatsheetseries.owasp.org/cheatsheets/XML_External_Entity_Prevention_Cheat_Sheet.html
PT0-003: PenTest+ · Q5
Topic 1 Question #5 A penetration tester is conducting reconnaissance for an upcoming assessment of a large corporate client. The client authorized spear phishing in the rules of engagement. Which of the following should the tester do first when developing the phishing campaign?
  • A.
    Shoulder surfing
  • B.
    Recon-ng
  • C.
    Social media
  • D.
    Password dumps

Answer: C

The CompTIA PenTest+ (PT0-003) Information Gathering and Vulnerability Assessment domain emphasizes that targeted social engineering campaigns such as spear phishing require prior passive reconnaissance to develop credible, tailored lures. Unlike generic mass phishing, spear phishing targets specific individuals or groups within the client organization, so the first step in campaign development is gathering personal, role-specific, and organizational context to make phishing communications appear legitimate. Reviewing social media profiles is the highest-yield first step for this task, as it provides data on job roles, internal project names, colleague relationships, communication styles, and personal interests that can be used to craft convincing lures that are far more likely to succeed than generic messages, without risking early detection by the client's security controls. Option Analysis: A. Shoulder surfing: Incorrect. Shoulder surfing is a physical social engineering tactic that requires the tester to be physically present near targets to observe their screens or keystrokes. It is not a first step for developing a phishing campaign, which is typically designed during initial remote reconnaissance before any on-site activities are conducted, and it does not provide the broad context needed to craft targeted lures for multiple spear phishing recipients. B. Recon-ng: Incorrect. Recon-ng is an automated open-source intelligence (OSINT) aggregation tool that can scrape data from multiple sources including social media platforms. However, it is a tool used to streamline data gathering, not a core first activity itself. PT0-003 domain knowledge emphasizes that testers first identify high-value OSINT sources (like social media) to understand what data is available before deploying automated tools, and direct social media review provides immediate actionable context for lure design faster than setting up and running automated Recon-ng scans. C. Social media: Correct. Social media is a passive, low-risk OSINT source that provides the targeted personal and organizational context required to design credible spear phishing lures. PT0-003 objectives prioritize passive OSINT gathering first in reconnaissance, and social media is the most relevant first step for spear phishing campaign development because it directly enables the tailored messaging that defines successful spear phishing operations. D. Password dumps: Incorrect. Password dumps are sets of compromised credentials from past public data breaches. While they may be used later in a phishing campaign to add credibility (e.g., referencing a known past password to trick targets into believing a communication is legitimate) or for post-phishing credential stuffing, they are not a first step. Testers must first identify their target list and design the core lure before integrating breach data into the campaign, if at all. Key Concepts: 1. Spear Phishing Target Profiling: PT0-003 tests knowledge that spear phishing success depends on targeted, personalized messaging, which requires pre-campaign OSINT to collect context on individual targets, their roles, and their organizational environment. 2. Passive OSINT Prioritization: PenTest+ requires understanding that passive OSINT sources, which do not involve direct interaction with the target or target systems and eliminate risk of detection, should be leveraged first during reconnaissance, before active scanning, tool usage, or physical activities. 3. Phishing Campaign Development Lifecycle: The first phase of authorized phishing campaign development per PT0-003 objectives is target enumeration and lure design, which relies on high-quality contextual data before any execution or tool deployment steps. References: CompTIA PenTest+ (PT0-003) Exam Objectives, SANS Social Engineering Penetration Testing Step-by-Step Guide

FAQ

How many practice questions are available for PT0-003: PenTest+?

This question bank includes 344 PT0-003: PenTest+ practice questions covering single and multiple choice, each with answers and explanations.

Are PT0-003: PenTest+ practice questions available in Chinese and English?

Yes, PT0-003: PenTest+ practice questions are provided in both Chinese and English.

Can I try PT0-003: PenTest+ practice questions for free?

Yes. Free sample questions are available on this page, and the full question bank is available after signing up on Zhangxuetu.